

<div class="mainer global-wrap">
    <div class="inner">
        <div class="seller-center-side">
            <div class="side-hd"><h3 class="title"><i class="blackfive-icon bi-user"></i><span class="txt">我的码头</span>
            </h3>
            </div>
            <div class="side-bd">
                <div class="side-item"><h3 class="title"><em class="square"></em>交易管理</h3>
                    <ul class="side-list">
                        <li><a href="http://www.ymatou.com/shopping/shoppingcart" target="_top">我的购物车</a></li>
                        <li class="active"><a href="#">我的订单</a></li>
                        <li><a href="http://www.ymatou.com/CouponSearch/MyCoupons?searchType=1">我的优惠券</a></li>
                        <li><a href="http://my.ymatou.com/UserCollect/Index">我的收藏夹</a></li>
                    </ul>
                </div>
                <div class="side-item"><h3 class="title"><em class="square"></em>消息相关</h3>
                    <ul class="side-list">
                        <!--<li><a href="http://www.ymatou.com/user/messageSessions">我的站内信</a></li>-->
                        <li><a href="http://www.ymatou.com/UserNotice/UserNoticeList">公告</a></li>
                        <!--<li><a href="http://www.ymatou.com/Notifaction/TradingNotifactions">交易通知</a></li>-->
                    </ul>
                </div>
                <div class="side-item"><h3 class="title"><em class="square"></em>资金管理</h3>
                    <ul class="side-list">
                        <li><a href="http://www.ymatou.com/account/withdrawal">提现</a></li>
                        <!--<li><a href="http://www.ymatou.com/giftavailtally">红包明细</a></li>-->
                    </ul>
                </div>
                <div class="side-item"><h3 class="title"><em class="square"></em>账号管理</h3>
                    <ul class="side-list">
                        <li><a href="http://www.ymatou.com/UserSecureCenter/Index">安全中心</a></li>
                        <li><a href="http://www.ymatou.com/user/profile">个人信息管理</a></li>
                        <li><a href="http://www.ymatou.com/user/address">用户地址管理</a></li>
                        <!--<li><a href="http://www.ymatou.com/empiricalvalue">成长值明细</a></li>-->
                    </ul>
                </div>
            </div>
        </div>
        <div class="seller-center-r"><script src="orders.d00eec7.js"></script>



<ul class="seller-center-tab">
    <li class="item active">
        <a href="#" data-id="0">全部订单<em class="number">5</em></a><em class="line"></em>
    </li>
    <li class="item">
        <a href="#pay" data-id="1">待付款<em class="number J_lbl_wait">3</em></a><em class="line"></em>
    </li>
    <li class="item">
        <a href="#confirm" data-id="2">待接单<em class="number J_lbl-confirm">0</em></a><em class="line"></em>
    </li>
    <li class="item">
        <a href="#receive" data-id="3">待收货<em class="number J_lbl-receive">0</em></a><em class="line"></em>
    </li>
    <li class="item">
        <a href="#vote" data-id="4">待评价<em class="number J_lbl-vote">0</em></a><em class="line"></em>
    </li>
</ul>
<table class="order-table-th">
    <tbody><tr>
        <th class="product-info">商品</th>
        <th class="price">单价(元)</th>
        <th class="count">数量</th>
        <th class="product-operate">商品操作</th>
        <th class="sum">合计 (元)</th>
        <th class="trade-type">交易状态</th>
        <th class="order-operate">操作</th>
    </tr>
    </tbody></table>
<ul class="order-lists">
    
    
    <!--<li class="order-item ">-->
        
            <li class="order-item order-item-different J-order-different">
        <div class="different-order">您订单中的商品属不同买手或不同的配送方式，故拆分为以下订单分开配送，给您带来的不便敬请谅解。</div>

        

        

        

        <div class="order-hd">
            <span class="time">2017-01-05 15:17</span>
            <span class="order-number">订单号：119773350</span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="cgvubfyjq4aaccpiaabvdhuscoq031_m.jpg"></span>
                <span class="name">容静岚</span>
            </a>
            <a class="blackfive-icon bi-seller" href="http://www.ymatou.com/product/imyy/dialog?sellerId=7355752&amp;sellerName=%E5%AE%B9%E9%9D%99%E5%B2%9A"></a>
        </div>
        <div class="order-bd">
            
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="http://www.ymatou.com/product/3261a88926b849a0b2ac08899034465b.html" target="_top"><img src="cgvubfheajuank7iaakqkipxt9o628_1_1_n_w_o.jpg" height="80" width="80"></a>
                        
                        <i class="product-icon pi-zhibo"></i>
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><em class="pi-type">包邮包税</em>【2瓶】Swisse小黄瓜卸妆水300ml</p>
                        <div class="pi-attribute">
                            <span></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><i class="logistics-icon li-xlob-zy"></i>贝海直邮</span>
                            <!-- TODO: enum prod.refundType-->
                            <span><i class="logistics-icon li-tuihuo" data-r="2"></i>本土退货</span>
                            
                                <span><i class="logistics-icon li-diabled"></i>不支持七天无理由退货</span>
                            

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    
                    <p class="current-price">126</p>
                    <!-- TODO enum prod.priceType -->
                    

                </div>
                <div class="count">2</div>
                <!--全款模式-->
                <div class="product-operate">
                    
                </div>
            </div>
            
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total">252</p>
                        <div class="total-info" style="display: none;">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum">0</em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status">待付款</p>
                        
                            <p><a href="http://www.ymatou.com/ordercenter/info?orderid=119773350&amp;suborderid=119773350" target="_top">订单详情</a></p>
                        

                        
                        
                        
                        
                        
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        
                        
                        
                        <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                        
                        
                        

                        
                        
                        
                        
                        
                        
                        
                        
                        
                        

                        
                        
                        
                        
                        
                        <p style="display: none;" id="timing0" class="timeout timeout-hour" datetime="1483604226713"></p>
                        <p class="payment J-payment" data-operationid="230173250">
                            <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                        </p>
                        
                        
                    </div>
                </div>
            </div>
        </div>
        
        <div class="different-order-operate">
            <div class="operate-info">
                
                
                
                <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                
                
                

                
                
                
                
                
                
                
                
                
                

                
                
                
                
                
                <p style="display: none;" id="timing1" class="timeout timeout-hour" datetime="1483604226713"></p>
                <p class="payment J-payment" data-operationid="230173250">
                    <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                </p>
                
                
            </div>
        </div>
        
        
        

        

        

        <div class="order-hd">
            <span class="time">2017-01-05 15:17</span>
            <span class="order-number">订单号：119773351</span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="cgvubfg0bb-alwknaaaazutyncc953_1_1_m.jpg"></span>
                <span class="name">加号全球购</span>
            </a>
            <a class="blackfive-icon bi-seller" href="http://www.ymatou.com/product/imyy/dialog?sellerId=15206250&amp;sellerName=%E5%8A%A0%E5%8F%B7%E5%85%A8%E7%90%83%E8%B4%AD"></a>
        </div>
        <div class="order-bd">
            
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="http://www.ymatou.com/product/83e0e684a4b944afac81bb2c6cdbd20c.html" target="_top"><img src="cgvua1gw77gauekpaaatmdnbqis884_400_533_n_w_o.jpg" height="80" width="80"></a>
                        
                        
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><em class="pi-type">包邮包税</em>2017新版资生堂ANESSA安耐晒防晒霜金瓶安热沙60ml防水SPF50+</p>
                        <div class="pi-attribute">
                            <span></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><i class="logistics-icon li-pinyou"></i>拼邮</span>
                            <!-- TODO: enum prod.refundType-->
                            <span><i class="logistics-icon li-tuihuo" data-r="2"></i>本土退货</span>
                            
                                <span><i class="logistics-icon li-seven"></i>七天无理由退货</span>
                            

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    
                    <p class="current-price">162.5</p>
                    <!-- TODO enum prod.priceType -->
                    

                </div>
                <div class="count">1</div>
                <!--全款模式-->
                <div class="product-operate">
                    
                </div>
            </div>
            
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total">162.5</p>
                        <div class="total-info" style="display: none;">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum">0</em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status">待付款</p>
                        
                            <p><a href="http://www.ymatou.com/ordercenter/info?orderid=119773350&amp;suborderid=119773350" target="_top">订单详情</a></p>
                        

                        
                        
                        
                        
                        
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        
                        
                        
                        <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                        
                        
                        

                        
                        
                        
                        
                        
                        
                        
                        
                        
                        

                        
                        
                        
                        
                        
                        <p style="display: none;" id="timing2" class="timeout timeout-hour" datetime="1483604226713"></p>
                        <p class="payment J-payment" data-operationid="230173250">
                            <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                        </p>
                        
                        
                    </div>
                </div>
            </div>
        </div>
        
        <div class="different-order-operate">
            <div class="operate-info">
                
                
                
                <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                
                
                

                
                
                
                
                
                
                
                
                
                

                
                
                
                
                
                <p style="display: none;" id="timing3" class="timeout timeout-hour" datetime="1483604226713"></p>
                <p class="payment J-payment" data-operationid="230173250">
                    <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                </p>
                
                
            </div>
        </div>
        
        
        

        

        

        <div class="order-hd">
            <span class="time">2017-01-05 15:17</span>
            <span class="order-number">订单号：119773352</span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="cgvua1g0bq2an7e7aaaxzqizsew350_1_1_m.jpg"></span>
                <span class="name">依然正品</span>
            </a>
            <a class="blackfive-icon bi-seller" href="http://www.ymatou.com/product/imyy/dialog?sellerId=16260747&amp;sellerName=%E4%BE%9D%E7%84%B6%E6%AD%A3%E5%93%81"></a>
        </div>
        <div class="order-bd">
            
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="http://www.ymatou.com/product/533ac7da458e4a42a93a6ce2ecacacc4.html" target="_top"><img src="cgvubvebcq-aykd9aadeujj4veo144_n_w_o.jpg" height="80" width="80"></a>
                        
                        
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><em class="pi-type">包邮包税</em>JAYJUN 水光再生洗面奶 150ml</p>
                        <div class="pi-attribute">
                            <span></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><i class="logistics-icon li-third-zy"></i>第三方直邮</span>
                            <!-- TODO: enum prod.refundType-->
                            <span><i class="logistics-icon li-tuihuo" data-r="2"></i>本土退货</span>
                            
                                <span><i class="logistics-icon li-seven"></i>七天无理由退货</span>
                            

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    
                        <p class="original-price">87</p>
                    
                    <p class="current-price">86.5</p>
                    <!-- TODO enum prod.priceType -->
                    <i class="blackfive-icon bi-price"></i>

                </div>
                <div class="count">1</div>
                <!--全款模式-->
                <div class="product-operate">
                    
                </div>
            </div>
            
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total">86.5</p>
                        <div class="total-info" style="display: none;">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum">0</em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status">待付款</p>
                        
                            <p><a href="http://www.ymatou.com/ordercenter/info?orderid=119773350&amp;suborderid=119773350" target="_top">订单详情</a></p>
                        

                        
                        
                        
                        
                        
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        
                        
                        
                        <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                        
                        
                        

                        
                        
                        
                        
                        
                        
                        
                        
                        
                        

                        
                        
                        
                        
                        
                        <p style="display: none;" id="timing4" class="timeout timeout-hour" datetime="1483604226713"></p>
                        <p class="payment J-payment" data-operationid="230173250">
                            <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                        </p>
                        
                        
                    </div>
                </div>
            </div>
        </div>
        
        <div class="different-order-operate">
            <div class="operate-info">
                
                
                
                <p><a href="javascript:;" class="cancel-order" data-operationid="230173250">取消订单</a></p>
                
                
                

                
                
                
                
                
                
                
                
                
                

                
                
                
                
                
                <p style="display: none;" id="timing5" class="timeout timeout-hour" datetime="1483604226713"></p>
                <p class="payment J-payment" data-operationid="230173250">
                    <a href="http://www.ymatou.com/shopping/payment?orderid=230173250&amp;pageType=0">支付¥501.00</a>
                </p>
                
                
            </div>
        </div>
        
        
        
    </li>
    
    <!--<li class="order-item order-item-cancel">-->
        
            <li class="order-item order-item-cancel">
        
        

        

        

        <div class="order-hd">
            <span class="time">2017-01-05 14:10</span>
            <span class="order-number">订单号：119771923</span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="cgvua1g0bq2an7e7aaaxzqizsew350_1_1_m.jpg"></span>
                <span class="name">依然正品</span>
            </a>
            <a class="blackfive-icon bi-seller" href="http://www.ymatou.com/product/imyy/dialog?sellerId=16260747&amp;sellerName=%E4%BE%9D%E7%84%B6%E6%AD%A3%E5%93%81"></a>
        </div>
        <div class="order-bd">
            
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="http://www.ymatou.com/product/533ac7da458e4a42a93a6ce2ecacacc4.html" target="_top"><img src="cgvubvebcq-aykd9aadeujj4veo144_n_w_o.jpg" height="80" width="80"></a>
                        
                        
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><em class="pi-type">包邮包税</em>JAYJUN 水光再生洗面奶 150ml</p>
                        <div class="pi-attribute">
                            <span></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><i class="logistics-icon li-third-zy"></i>第三方直邮</span>
                            <!-- TODO: enum prod.refundType-->
                            <span><i class="logistics-icon li-tuihuo" data-r="2"></i>本土退货</span>
                            
                                <span><i class="logistics-icon li-seven"></i>七天无理由退货</span>
                            

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    
                        <p class="original-price">87</p>
                    
                    <p class="current-price">86.5</p>
                    <!-- TODO enum prod.priceType -->
                    <i class="blackfive-icon bi-price"></i>

                </div>
                <div class="count">1</div>
                <!--全款模式-->
                <div class="product-operate">
                    
                </div>
            </div>
            
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total">86.5</p>
                        <div class="total-info" style="display: none;">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum">0</em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status">订单已取消</p>
                        
                            <p><a href="http://www.ymatou.com/ordercenter/info?orderid=119771923&amp;suborderid=119771923" target="_top">订单详情</a></p>
                        

                        
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        
                    </div>
                </div>
            </div>
        </div>
        
        
        
    </li>
    
    <!--<li class="order-item order-item-cancel">-->
        
            <li class="order-item order-item-cancel">
        
        

        

        

        <div class="order-hd">
            <span class="time">2017-01-03 20:42</span>
            <span class="order-number">订单号：119730839</span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="cgvua1g0bq2an7e7aaaxzqizsew350_1_1_m.jpg"></span>
                <span class="name">依然正品</span>
            </a>
            <a class="blackfive-icon bi-seller" href="http://www.ymatou.com/product/imyy/dialog?sellerId=16260747&amp;sellerName=%E4%BE%9D%E7%84%B6%E6%AD%A3%E5%93%81"></a>
        </div>
        <div class="order-bd">
            
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="http://www.ymatou.com/product/533ac7da458e4a42a93a6ce2ecacacc4.html" target="_top"><img src="cgvubvebcq-aykd9aadeujj4veo144_n_w_o.jpg" height="80" width="80"></a>
                        
                        
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><em class="pi-type">包邮包税</em>JAYJUN 水光再生洗面奶 150ml</p>
                        <div class="pi-attribute">
                            <span></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><i class="logistics-icon li-third-zy"></i>第三方直邮</span>
                            <!-- TODO: enum prod.refundType-->
                            <span><i class="logistics-icon li-tuihuo" data-r="2"></i>本土退货</span>
                            
                                <span><i class="logistics-icon li-seven"></i>七天无理由退货</span>
                            

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    
                        <p class="original-price">87</p>
                    
                    <p class="current-price">86.5</p>
                    <!-- TODO enum prod.priceType -->
                    <i class="blackfive-icon bi-price"></i>

                </div>
                <div class="count">1</div>
                <!--全款模式-->
                <div class="product-operate">
                    
                </div>
            </div>
            
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total">86.5</p>
                        <div class="total-info" style="display: none;">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum">0</em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status">订单已取消</p>
                        
                            <p><a href="http://www.ymatou.com/ordercenter/info?orderid=119730839&amp;suborderid=119730839" target="_top">订单详情</a></p>
                        

                        
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        
                    </div>
                </div>
            </div>
        </div>
        
        
        
    </li>
    
    
</ul>
<div class="loading-more J_mod-like">查看更多订单</div>
<div style="display: none;" class="loading-end"><span class="title">刷完了</span> </div>
<script type="text/x-template" id="tmpl-orders">
    <% if (!_.isEmpty(orders)) {%>
    <% _.each(orders, function(order, oIndex) { %>
    <!--<li class="order-item <% if (order.stateCode == 4) {%>order-item-close<% } %><% if (order.stateCode == 18 || order.stateCode == 13 || order.stateCode == 12 || order.stateCode == 100 || order.stateCode == 102) {%>order-item-cancel<% } %>">-->
        <% if(order.stateCode == 4){%>
            <li class="order-item order-item-close">
        <%} else if(order.stateCode == 18 || order.stateCode == 13 || order.stateCode == 12 || order.stateCode == 100 || order.stateCode == 102){%>
            <li class="order-item order-item-cancel">
        <%} else{%>
            <li class="order-item">
        <%}%>
        <% if (!_.isEmpty(order.sellerOrderList)) {
        if (order.sellerOrderList.length > 1) { %>
    <li class="order-item order-item-different J-order-different">
        <div class="different-order">您订单中的商品属不同买手或不同的配送方式，故拆分为以下订单分开配送，给您带来的不便敬请谅解。</div>

        <%}
        _.each(order.sellerOrderList, function(sellerOrder, sIndex) { %>

        <% if(order.sellerOrderList.length == 1 && sellerOrder.subOrderList.length > 1){%>
    <li class="order-item order-item-different J-order-different">
        <div class="different-order">您订单中的商品属不同买手或不同的配送方式，故拆分为以下订单分开配送，给您带来的不便敬请谅解。</div>
        <%}%>

        <% if (!_.isEmpty(sellerOrder.subOrderList)) {
        var sellerId = sellerOrder.sellerInfo.id;
        var sellerName = sellerOrder.sellerInfo.name;
        _.each(sellerOrder.subOrderList, function(subOrder) { %>

        <div class="order-hd">
            <span class="time"><%= order.saveOrderTime%></span>
            <span class="order-number">订单号：<%= subOrder.id%></span>
            <a href="javascript:;" class="seller">
                <span class="avator"><img src="<%= sellerOrder.sellerInfo.avatar%>"></span>
                <span class="name"><%= sellerOrder.sellerInfo.name %></span>
            </a>
            <a class="blackfive-icon bi-seller" href="javascript:window.open('http://www.ymatou.com/product/imyy/dialog?sellerId=<%=sellerId%>&sellerName=<%=sellerName%>', 'imyy', 'toolbar=no,directories=no,status=no, menubar=no, width=560,height=640');"></a>
        </div>
        <div class="order-bd">
            <% if (!_.isEmpty(subOrder.prodList)) {

            _.each(subOrder.prodList, function(prod, pIndex){
                var pid = String(prod.id).replace(/-/g, '');
            %>
            <div class="ob-item">
                <dl class="product-info">
                    <dt class="pi-img">
                        <a href="/product/<%=pid%>.html" target="_blank"><img src="<%= prod.pic %>" width="80" height="80"></a>
                        <% if (prod.productType == 3) {%><i class="product-icon pi-tuan"></i><% } %>
                        <% if (prod.productType == 1) {%><i class="product-icon pi-zhibo"></i><% } %>
                    </dt>
                    <dd class="pi-info">
                        <p class="pi-name"><%= prod.tariffText%><%= prod.desc %></p>
                        <div class="pi-attribute">
                            <span><%= prod.skuInfo%></span>
                        </div>
                        <p class="pi-icon">
                            <!-- TODO: enum prod.devliveryType-->
                            <span><%= prod.deliveryText %></span>
                            <!-- TODO: enum prod.refundType-->
                            <span><%= prod.refundText %></span>
                            <% if (prod.supportSevenDaysRefund) { %>
                                <span><i class="logistics-icon li-seven"></i>七天无理由退货</span>
                            <%} else { %>
                                <span><i class="logistics-icon li-diabled"></i>不支持七天无理由退货</span>
                            <%}%>

                        </p>
                    </dd>
                </dl>
                <div class="price">
                    <%if (prod.priceType != 0) {%>
                        <p class="original-price"><%= prod.originalPrice%></p>
                    <%}%>
                    <p class="current-price"><%= prod.price%></p>
                    <!-- TODO enum prod.priceType -->
                    <%= prod.priceText %>

                </div>
                <div class="count"><%= prod.purchaseNum%></div>
                <!--全款模式-->
                <div class="product-operate">
                    <% if (order.stateCode == 17) { %>
                    <p><a href="javascript:;" class="J_item-refund">退款／退货</a></p>
                    <% } %>
                </div>
            </div>
            <% }) } %>
            <div class="other-info">
                <div class="sum">
                    <div class="other-info-inner">
                        <p class="total"><%= subOrder.totalPrice%></p>
                        <div class="total-info" style="display:none">
                            <i></i>
                            <span class="total-item">商品金额:<em class="item-sum">null</em></span>
                            <span class="total-item">运费:<em class="item-sum"><%= subOrder.totalFreight%></em></span>
                            <!-- <span class="total-item">买手调价:<em class="item-sum">10.00</em></span> -->
                        </div>
                        <% if (subOrder.totalSellerCouponAmount != 0) {%>
                        <p class="yhq">优惠券抵扣<%= subOrder.totalSellerCouponAmount%></p>
                        <% } %>

                    </div>
                </div>
                <div class="trade-type">
                    <div class="other-info-inner">
                        <p class="status"><%= order.stateText%></p>
                        <% if(sellerOrder.subOrderList.length && sellerOrder.subOrderList.length > 1){%>
                            <p><a href="/ordercenter/info?orderid=<%=order.id%>" target="_blank">订单详情</a></p>
                        <%} else {%>
                            <p><a href="/ordercenter/info?orderid=<%=order.id%>&suborderid=<%=order.id%>" target="_blank">订单详情</a></p>
                        <%}%>

                        <%_.each(order.operaButtons, function(operaButton, sIndex) { %>
                        <% if (operaButton.type == 6) {%>
                        <div class="logistics">
                            <!--<a href="javascript:;"><%= operaButton.text%></a>-->
                            <div class="new-logistics-wrap">
                                <i class="blackfive-icon bi-cancel-arrow"></i>
                                <div class="nlw-hd">贝海国际速递：DB463200860AU</div>
                                <ul class="nlw-bd">
                                    <li class="first">
                                        <i class="blackfive-icon  bi-dotted"></i>
                                        <div class="text">[上海市]上海市静安区永和派件员：王龙泉 18721258631正在为您派件<span class="desc">2016-09-27 08:26:27</span></div>
                                    </li>
                                    <li>
                                        <i class="blackfive-icon  bi-dotted"></i>
                                        <div class="text">[上海市]快件已到达  上海市静安区永和<span class="desc">2016-09-27 08:26:27</span></div>
                                    </li>
                                    <li>
                                        <i class="blackfive-icon  bi-dotted"></i>
                                        <div class="text">[包裹将由国际快递进行配送]<span class="desc"> xx物流公司已接收 <br>物流单号: XS4311974 <br>查询网站：<a href="#">www.xxxxx.com</a></span></div>
                                    </li>

                                </ul>
                                <div class="nlw-ft">以上为最新物流信息，<a href="#">查看全部</a></div>
                            </div>
                        </div>
                        <% } %>
                        <% }) %>
                    </div>
                </div>
                <div class="order-operate">
                    <!-- TODO: enum order.stateCode -->
                    <div class="other-info-inner">
                        <%_.each(order.operaButtons, function(operaButton, sIndex) { %>
                        <% if (operaButton.type == 5) {%>
                        <p class="payment confirm-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></p>
                            <% if(order.needShowAutoReceiveTime) {%>    
                                <p class="confirm-timeout"><span class="txt"><%= order.autoReceiveTime %><br />将自动确认收货</span></p>
                            <% } %>
                        <% } %>
                        <% if (operaButton.type == 9) {%>
                        <p><a href="javascript:;" class="cancel-order"  data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                        <% } %>
                        <% if (operaButton.type == 4) {%>

                        <p><a href="javascript:;" class="delayreceive-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                        <% } %>
                        <% if (operaButton.type == 7) {%>
                        <p class="upload-identity"><a href="#" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                        <% } %>

                        <% if (operaButton.type == 10) {%>
                        <p><a href="javascript:;" class="evaluate-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                        <% } %>
                        <% if (operaButton.type == 11) {%>
                        <p><a href="#" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                        <% } %>
                        <% if (operaButton.type == 1) {%>
                        <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                        <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                            <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                        </p>
                        <% } %>
                        <% if (operaButton.type == 2) {%>
                        <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                        <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                            <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                        </p>
                        <% } %>
                        <% if (operaButton.type == 3) {%>
                        <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                        <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                            <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                        </p>
                        <% } %>
                        <% }) %>
                    </div>
                </div>
            </div>
        </div>
        <% if (order.sellerOrderList.length > 1 || sellerOrder.subOrderList.length > 1) {%>
        <div class="different-order-operate">
            <div class="operate-info">
                <%_.each(order.operaButtons, function(operaButton, sIndex) { %>
                <% if (operaButton.type == 5) {%>
                <p class="payment confirm-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></p>
                <p class="confirm-timeout"><span class="txt"><%= order.autoReceiveTime %><br />将自动确认收货</span></p>
                <% } %>
                <% if (operaButton.type == 9) {%>
                <p><a href="javascript:;" class="cancel-order"  data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                <% } %>
                <% if (operaButton.type == 4) {%>

                <p><a href="javascript:;" class="delayreceive-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                <% } %>
                <% if (operaButton.type == 7) {%>
                <p class="upload-identity"><a href="#" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                <% } %>

                <% if (operaButton.type == 10) {%>
                <p><a href="javascript:;" class="evaluate-order" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                <% } %>
                <% if (operaButton.type == 11) {%>
                <p><a href="#" data-operationId="<%= operaButton.operationId%>"><%= operaButton.text%></a></p>
                <% } %>
                <% if (operaButton.type == 1) {%>
                <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                    <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                </p>
                <% } %>
                <% if (operaButton.type == 2) {%>
                <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                    <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                </p>
                <% } %>
                <% if (operaButton.type == 3) {%>
                <p class="timeout timeout-hour" datetime="<%= order.payDeadlineTime %>"></p>
                <p class="payment J-payment" data-operationId="<%= operaButton.operationId%>">
                    <a href="/shopping/payment?orderid=<%=operaButton.operationId%>&pageType=0"><%= operaButton.text%></a>
                </p>
                <% } %>
                <% }) %>
            </div>
        </div>
        <% } %>
        <%  }) } %>
        <% }) } %>
    </li>
    <% }) %>
    <% } else { %>
    <p>orders not found!</p>
    <% } %>
</script>

<div class="pop-windows" id="cancelOrder" style="display: none; left: 20px; top: 260px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">取消订单</h3>
        </div>
        <div class="pop-bd">
            <div class="pop-message">
                <i class="blackfive-icon bi-wraning"></i>
                <p class="message-tips">您确定要取消该订单吗？<br>取消订单后，不能恢复。</p>
            </div>
            <div class="cancel-reason">
                <label>选择取消原因:</label>
                <select class="J_reason-cancel">
                    <option value="0">请选择取消原因</option>
                    <option value="1">拍错了</option>
                    <option value="2">重复购买</option>
                    <option value="3">不能使用红包优惠券</option>
                    <option value="4">卖家缺货</option>
                </select>
            </div>
            <input id="reason" type="hidden">
        </div>
        <div class="pop-ft">
            <button class="pop-btn btn-primary" disabled="" id="cancel-order-btn">确定</button><button class="pop-btn J-close">取消</button>
        </div>
    </div>
</div>
<!--确认收货-->
<div class="pop-windows" id="confirmOrder" style="display: none; left: 400px; top: 260px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">确认收货</h3>
        </div>
        <div class="pop-bd">
            <div class="pop-message">
                <i class="blackfive-icon bi-wraning"></i>
                <p class="message-tips">确认收货后，货款会打给卖家，<br>您确认要继续吗？</p>
            </div>
        </div>
        <div class="pop-ft">
            <button class="pop-btn btn-primary" id="confirm-order-btn">继续</button><button class="pop-btn J-close">取消</button>
        </div>
    </div>
</div>
<!--服务评分-->
<div class="pop-windows" id="evaluateOrder" style="display: none; left: 20px; top: 500px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">为本次交易评分</h3>
        </div>
        <div class="pop-bd">
            <div class="appraise">
                <span class="item"><i class="blackfive-icon bi-start"></i></span>
                <span class="item"><i class="blackfive-icon bi-start"></i></span>
                <span class="item"><i class="blackfive-icon bi-start"></i></span>
                <span class="item"><i class="blackfive-icon bi-start"></i></span>
                <span class="item"><i class="blackfive-icon bi-start"></i></span>
                <input id="point" type="hidden">
            </div>
        </div>

        <div class="pop-ft">
            <button class="pop-btn btn-primary" disabled="" id="evaluate-order-btn">提交</button>
        </div>
    </div>
</div>
<!--延迟收货时间-->
<div class="pop-windows" id="delayreceiveOrder" style="display: none; left: 1200px; top: 260px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">延长收货时间</h3>
        </div>
        <div class="pop-bd">
            <div class="pop-message">
                <i class="blackfive-icon bi-wraning"></i>
                <p class="message-tips">哈尼，只能延迟收货一次哦,<br>延迟天数<em class="delayReceiveDays"></em>天</p>
            </div>
        </div>

        <div class="pop-ft">
            <button class="pop-btn btn-primary" id="delayreceive-order-btn">确认延迟收货</button><button class="pop-btn J-close">取消</button>
        </div>
    </div>
</div>
<!--上传身份证-->
<div class="pop-windows pop-upload-identity" id="uploadIdentity" style="width: 430px; display: none; left: 20px; top: 0px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd"><h3 class="title">上传身份证</h3></div>
        <div class="pop-bd">
            <div class="upload-identity">
                <div class="item first">
                    <p class="txt"><i class="blackfive-icon bi-step"></i>方法一：</p>
                    <p>step1：打开微信扫码，关注洋码头服务号；</p>
                    <img class="service-img" alt="">
                    <p>step2：点击服务号下方菜单<br>【个人中心】→【我的订单】→【上传身份证】</p>
                </div>
                <div class="item">
                    <p class="txt"><i class="blackfive-icon bi-step"></i>方法二：</p>
                    <a href="http://evt.ymatou.com/activity_3135_pc?app_banner=home_page" target="_top" class="go-app">下载洋码头APP上传身份证 &gt;</a>
                </div>
            </div>
        </div>
    </div>
</div>
<!--退货/退款-->
<div class="pop-windows" id="J_confirmRefund" style="display: none; left: 400px; top: 260px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">退款/退货</h3>
        </div>
        <div class="pop-bd">
            <div class="pop-message">
                <i class="blackfive-icon bi-wraning"></i>
                <p class="message-tips">哈尼，目前PC暂不支付该功能，请到APP上操作哦~</p>
            </div>
        </div>
        <div class="pop-ft">
            <a class="pop-btn btn-primary" href="http://evt.ymatou.com/activity_3135_pc?app_banner=home_page">下载APP</a><button class="pop-btn J-close">取消</button>
        </div>
    </div>
</div>
<!--支付完成页面-->
<div class="pop-windows" id="isCheckOutSuccess" style="display: none; left: 800px; top: 260px;">
    <div class="pop-wrap">
        <i class="blackfive-icon bi-close J-close"></i>
        <div class="pop-hd">
            <h3 class="title">提示</h3>
        </div>
        <div class="pop-bd">
            <div class="pop-message">
                <i class="blackfive-icon bi-wraning"></i>
                <p class="message-tips">请在第三方支付页面完成付款,<br>付款完成前请不要关闭此窗口</p>
            </div>
        </div>
        <div class="pop-ft">
            <button class="pop-btn btn-primary" id="checkoutSuccess">我已付款成功</button><button class="pop-btn" id="checkoutFailure">支付遇到问题，重新支付</button>
        </div>
    </div>
</div>
<div class="pop-windows" id="error-dialog" style="left: 800px; top: 260px; display: none;">
  <div class="pop-wrap">
    <i class="blackfive-icon bi-close J-close"></i>
    <div class="pop-hd">
        <h3 class="title">提示</h3>
    </div>
    <div class="pop-bd">
        <div class="pop-message">
            <i class="blackfive-icon bi-wraning"></i>
            <p class="message-tips">哎哟喂，网络出小差了，请稍后重试~</p>
        </div>
    </div>
    <div class="pop-ft">
        <button class="pop-btn btn-primary">确定</button>
    </div>
  </div>
</div>
</div>
    </div>
</div>


</body>
</html>
